<script setup>
// import TestSlot from './TestSlot.vue'
import { useSidebarStore } from './store/sidebar'
//use开头 hooks sidebar 状态就来到此处
const sidebarStore = useSidebarStore();
console.log(sidebarStore);
</script>

<template>
  <div>
    <!-- <TestSlot>
      <div>默认SLOT</div>
      <template #header>
        <header>header slot</header>
      </template>
      <template #footer>
        <footer>footer slot</footer>
      </template>
    </TestSlot> -->
    <router-view />
  </div>
</template>

<style scoped>

</style>
